package com.forum.entity.view;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotations.TableName;
import com.forum.entity.DataevaluationEntity;
import com.forum.entity.news;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 *
 */
@TableName("dataevaluation")
public class DataevaluationView extends DataevaluationEntity implements Serializable {
    private static final long  serialVersionUID=1L;

    public DataevaluationView(){

    }
    public DataevaluationView(DataevaluationEntity entity){
        try {
            BeanUtils.copyProperties(this, entity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }
}
